﻿using System;
using System.ComponentModel;
using System.Reflection;
namespace CarparkEnum
{
    public enum GeneralReturnCode
    { 
        [Description("Success")]
        SUCCESS = -1,

        [Description("Fail")]
        FAIL = 1,

        [Description("EXCEPTION")]
        EXCEPTION = 2,

        [Description("UNAUTHORIED")]
        UNAUTHORIED = 3,

        [Description("PAGE_NO_ERR")]
        PAGE_NO_ERR = 4,

        [Description("NoRecord")]
        NO_RECORD = 5,

        [Description("FILE_UPLOAD_SUCCESS")]
        FILE_UPLOAD_SUCCESS = 6,

        [Description("FILE_UPLOAD_FAIL")]
        FILE_UPLOAD_FAIL = 7,

        [Description("FILESIZE_IS_LIMITED")]
        FILESIZE_IS_LIMITED = 8,

        [Description("ListNoRecord")]
        LIST_NO_RECORD = 9,

        [Description("ListNoRecord")]
        UNEXPECT_FILE_TYPE = 10,
         
        [Description("DbFail")]
        DATABASE_SERVER_FAIL = 12,

        [Description("EXIST_RECORD")]
        EXIST_RECORD = 13,
       
        [Description("NO_ATTxx_RECORD")] 
        NO_ATTENDANCE_RECORD = 14,
         
        [Description("SUCC_SYNCHRONIZED_TO_EPLY")]
        SUCC_SYNCHRONIZED_TO_EPLY = 16,
         
        [Description("IN_BACKGROUND_RUNNING")]
        IN_BACKGROUND_RUNNING = 19,

        [Description("DeviceSerialNo_Incorrect")]
        DEVICESERIALNO_INCORRECT = 20,

        [Description("No_MAINCOM_ID")]
        GeneralUI_No_MAINCOM_ID = 21
    } 
}
